
/**
 * author : xuzongmeng
 * date   : 2018/12/06.
 * desc   : 订单状态
 */
export default class OrderTypeCons {
  // static Finish = 0; //(0, "七天后订单(已收货)"),
  // static WaitCommit = 1;//, "待提交"),
  // static WaitPay = 2;  //"待支付"),
  // static Closed = 3;// "订单关闭"),
  // static AlreadyPayed = 4;  //"已支付(待发货)"),
  // static WaitConfirm = 5; // "待收货(待确认)"),
  // static AlreadyConfirmed = 6 // "买家已确认(已收货)");

  static All = {
    value: -1,
    label: '全部'
  }
  // static WaitCommit = 1;//, "待提交"),
  static Create = {
    value: 0,
    label: '已创建' // 待支付 WaitPay
  }
  static Pay = {
    value: 1,
    label: '已支付'
  }

  static Refund = {
    value: 2,
    label: '已退款'
  }
  static Close = {
    value: 3,
    label: '已关闭'
  }

  static Confirm = {
    value: 4,
    label: '已确认'
  }
  // Finish
  static End = {
    value: 5,
    label: '完成'
  }
}
